package com.xinlu.common.game.dao;

import java.util.Date;
import java.util.List;

import com.xinlu.derek.common.BaseDao;
import com.xinlu.persistence.WcZjxx;

public class WcZjxxDao extends BaseDao {
	
	/**
	 * 
	 * Function :		获取当前的开奖信息
	 * @param today
	 * @return
	 * Derek
	 * 2011-5-31 上午12:48:34
	 */
	public List<WcZjxx> getAllZjxxList(Date today, String yxlx){
		
		String hql = " from WcZjxx wx where wx.yxms = ? and wx.kjsj > ? order by wx.kjsj desc ";
		
		return super.find(hql, new Object[]{yxlx, today});
		
	}
	
}
